projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09663d9
)
* lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
author
Michael Albinus
<michael.albinus@gmx.de>
Sun, 13 Dec 2015 12:47:40 +0000
(13:47 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Sun, 13 Dec 2015 12:47:40 +0000
(13:47 +0100)
... in case of Tramp. (Bug#20821)
lisp/ido.el
patch
|
blob
|
history
diff --git
a/lisp/ido.el
b/lisp/ido.el
index a254b4fefcfc26c3c8b28ce8992f7a14b576c9e3..1415b27a3a70f7a5d9660801eb318353f005aaa6 100644
(file)
--- a/
lisp/ido.el
+++ b/
lisp/ido.el
@@
-3559,7
+3559,9
@@
it is put to the start of the list."
(let* ((len (1- (length dir)))
(non-essential t)
(compl
- (or (file-name-all-completions "" dir)
+ (or ;; We do not want to be disturbed by "File does not
+ ;; exist" errors.
+ (ignore-errors (file-name-all-completions "" dir))
;; work around bug in ange-ftp.
;; /ftp:user@host: => nil
;; /ftp:user@host:./ => ok